''''''''''''''''''''''''''''''''''''''''''''''
' Enventory
'
' vbscript toolset to support administration, Enventory and control of AD Users and PC assets
'
' Copyright (C) ' by ufe@gmx.de
' started  July/August 2008, 
' based on work done within ::
'''''''''''''''''''''''''''''''''''
' Open Audit                  '
' http://open-audit.org	      '
' Software and Hardware Enventory '
' Outputs into MySQL          '
' (c) Mark Unwin 2003         '
'''''''''''''''''''''''''''''''''''
'
' This program is free software; you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation; either version 2 of the License, or
' (at your option) any later version.

' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
' GNU General Public License for more details.

' You should have received a copy of the GNU General Public License along
' with this program; if not, write to the Free Software Foundation, Inc.,
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'

If isAppDriveLocal(lcase(WScript.ScriptFullName)) Then   ' dev
	EnventoryDataDir = myFilesDirGet& "\E-nventory\"
	EnventoryWaitStartup = 2 ' in seconds, how long to wait before doing the 1st Enventory, in seconds, for avoiding pc overload during startup script
	EnventoryWaitApps = 1 ' in seconds, break between 2 jobs to avoid overload of pc during runtime
else ' prod
	EnventoryDataDir = "\\yourfilesever\\E-nventory\data\"
	EnventoryWaitStartup = 900 ' in seconds, how long to wait before doing the 1st Enventory, in seconds, for avoiding pc overload during startup script
	EnventoryWaitApps = 180 ' in seconds, break between 2 jobs to avoid overload of pc during runtime
End If

DOEnventoryHardwareFile="E-nventory.Hardware.vbs"
DOEnventoryLicenseFile="E-nventory.License.vbs"
DOEnventorySerialNumberFile="E-nventory.SerialNumber.vbs"
DOEnventorySoftwareFile="E-nventory.Software.vbs"
DOEnventoryAdlistsFile="E-nventory.Adlists.vbs"
DOEnventoryAdRepFile="E-nventory.Adrep.vbs"
DOEnventoryHW2ADFile="E-nventory.HW2AD.vbs" 
DOEnventoryEventIDFile="E-nventory.EventID.vbs" 
			
DOEnventoryHardwareActive = true
DOEnventoryLicenseActive = true
DOEnventorySerialNumberActive =true
DOEnventorySoftwareActive = true

DOEnventoryAdRepActive=true
DOEnventoryHW2ADActive = true
DOEnventoryEventIDActive = true

DOEnventoryAdlistsActive = false

EnventoryLogDir = EnventoryDataDir&"Logs"
EnventoryScriptsDir = EnventoryDataDir&"Scripts"
EnventoryExportDir = EnventoryDataDir&"Exports"
EnventoryExportDirLocal = EnventoryDataDir&"E-nventory.loc\"

'myDebug WScript.ScriptFullName & " bin in Enventory.SerialNumber.conf"
'myDebug EnventoryLogDir & " " & EnventoryDataDir 
'' SIG '' Begin signature block
'' SIG '' MIID6AYJKoZIhvcNAQcCoIID2TCCA9UCAQExDjAMBggq
'' SIG '' hkiG9w0CBQUAMGYGCisGAQQBgjcCAQSgWDBWMDIGCisG
'' SIG '' AQQBgjcCAR4wJAIBAQQQTvApFpkntU2P5azhDxfrqwIB
'' SIG '' AAIBAAIBAAIBAAIBADAgMAwGCCqGSIb3DQIFBQAEEG0e
'' SIG '' AwZvDRY/5J4RPYlMIfGgggISMIICDjCCAXegAwIBAgIQ
'' SIG '' fduYp37PJolB2l4qUoy9tjANBgkqhkiG9w0BAQQFADAV
'' SIG '' MRMwEQYDVQQDEwplLW52ZW50b3J5MB4XDTEwMTIzMTIz
'' SIG '' MDAwMFoXDTE2MTIzMTIzMDAwMFowFTETMBEGA1UEAxMK
'' SIG '' ZS1udmVudG9yeTCBnzANBgkqhkiG9w0BAQEFAAOBjQAw
'' SIG '' gYkCgYEAxoqL8otb0bZl/B6QNeNKa7wgv9FzkgeuH0/K
'' SIG '' Mqta3uf+k/JJF0eRdm/e+R17t2Fy0nn4kkfK/0339ZKA
'' SIG '' j+LrC6N0Z2XzotG2Tf5CR2XYHwGWtXvL1edczqrPEwnJ
'' SIG '' Bep8Fki6p0/CSSFueWSjRmMr3nP5+PNnMWarU/OyVdep
'' SIG '' yDMCAwEAAaNfMF0wEwYDVR0lBAwwCgYIKwYBBQUHAwMw
'' SIG '' RgYDVR0BBD8wPYAQlJeutLm/XtOFAEGETQ1/HKEXMBUx
'' SIG '' EzARBgNVBAMTCmUtbnZlbnRvcnmCEH3bmKd+zyaJQdpe
'' SIG '' KlKMvbYwDQYJKoZIhvcNAQEEBQADgYEAKFw68m9BqK1a
'' SIG '' mJUm2YxwCsT3mWy4nilgTWlC+wj64jouYVSY1Ozhm7L8
'' SIG '' ALBzVvvFCeHMHmvpN4pZdqzAf9CnTcNWPkYBq5Hep2aM
'' SIG '' by6t/JiG9lPhC327WWW5IQV3T+FtK2G1qW9UMGi83PMV
'' SIG '' FhUJeBp5hhxXhWORlcBZg5aiVpgxggFAMIIBPAIBATAp
'' SIG '' MBUxEzARBgNVBAMTCmUtbnZlbnRvcnkCEH3bmKd+zyaJ
'' SIG '' QdpeKlKMvbYwDAYIKoZIhvcNAgUFAKBsMBAGCisGAQQB
'' SIG '' gjcCAQwxAjAAMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3
'' SIG '' AgEEMBwGCisGAQQBgjcCAQsxDjAMBgorBgEEAYI3AgEV
'' SIG '' MB8GCSqGSIb3DQEJBDESBBBWzFhA/esL2SfCNiYVyh2X
'' SIG '' MA0GCSqGSIb3DQEBAQUABIGAHxAR9Aw4sEtlx8pnTkkC
'' SIG '' Vn9SCAxaQJ870c+3jmbn/6hNW9pSSP19sTpeyYh+nHGH
'' SIG '' WiHpDyi3BOQSGo8ZoDPZFoCQRcCr6BktpGUJ6MVFBgkN
'' SIG '' oOF7CeoRGnc/vGoWi2+khEmiCCVNu7mIELNUPJAyTe7C
'' SIG '' lUxHRTnTcRVOwS9MSck=
'' SIG '' End signature block
